projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0114d25
)
xen/arm: Fix return value when write is ignored in VGIC
author
Anthony PERARD
<anthony.perard@citrix.com>
Fri, 26 Apr 2013 13:16:31 +0000
(14:16 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Fri, 26 Apr 2013 14:56:32 +0000
(15:56 +0100)
If a write is ignored, the function should return success.
Currently Xen will throw a data abort exception if the write in VGIC is
ignored.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/vgic.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/vgic.c
b/xen/arch/arm/vgic.c
index 4d8da0242e307f1071c17a5452414be66bec9725..a984621e89d3adae74c8d64aa53d48f8fd476053 100644
(file)
--- a/
xen/arch/arm/vgic.c
+++ b/
xen/arch/arm/vgic.c
@@
-550,7
+550,7
@@
bad_width:
write_ignore:
if ( dabt.size != 2 ) goto bad_width;
- return
0
;
+ return
1
;
}
static int vgic_distr_mmio_check(struct vcpu *v, paddr_t addr)